package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;


@Component
@DisconfFile(targetDirPath = "disconf", filename = "baihang.properties")
public class BaiHangProperties {


      private  String secretId;
      private  String secretKey;
      private  String restURL;
      private  String type;
      //申请信息上报及征信
      private  String c1Url;
      private  String rsaPublicKey;
      private  String username;
      private  String password;

    @DisconfFileItem(name = "baihang.secretId", associateField = "secretId")
    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    @DisconfFileItem(name = "baihang.secretKey", associateField = "secretKey")
    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    @DisconfFileItem(name = "baihang.restURL", associateField = "restURL")
    public String getRestURL() {
        return restURL;
    }

    public void setRestURL(String restURL) {
        this.restURL = restURL;
    }

    @DisconfFileItem(name = "baihang.type", associateField = "type")
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    @DisconfFileItem(name = "baihang.c1Url", associateField = "c1Url")
    public String getC1Url() {
        return c1Url;
    }

    public void setC1Url(String c1Url) {
        this.c1Url = c1Url;
    }

    @DisconfFileItem(name = "baihang.rsaPublicKey", associateField = "rsaPublicKey")
    public String getRsaPublicKey() {
        return rsaPublicKey;
    }

    public void setRsaPublicKey(String rsaPublicKey) {
        this.rsaPublicKey = rsaPublicKey;
    }

    @DisconfFileItem(name = "baihang.username", associateField = "username")
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @DisconfFileItem(name = "baihang.password", associateField = "password")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
